projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c8dbf0
)
gadget: improve debug message
author
Cosimo Cecchi
<cosimoc@gnome.org>
Sun, 28 Feb 2016 22:52:14 +0000
(14:52 -0800)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Mon, 29 Feb 2016 18:45:14 +0000
(10:45 -0800)
gtk/gtkcssgadget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssgadget.c
b/gtk/gtkcssgadget.c
index 2440879a5a808723a31c9ff672c50bde136afe02..d93075db1963c613566daed6cee4f5cc74650fd6 100644
(file)
--- a/
gtk/gtkcssgadget.c
+++ b/
gtk/gtkcssgadget.c
@@
-825,7
+825,9
@@
gtk_css_gadget_draw (GtkCssGadget *gadget,
if (width < 0 || height < 0)
{
g_warning ("Drawing a gadget with negative dimensions. "
- "Did you forget to allocate a size?");
+ "Did you forget to allocate a size? (node %s owner %s)",
+ gtk_css_node_get_name (gtk_css_gadget_get_node (gadget)),
+ G_OBJECT_TYPE_NAME (gtk_css_gadget_get_owner (gadget)));
x = 0;
y = 0;
width = gtk_widget_get_allocated_width (priv->owner);